package com.mcarrot.site.dao;

import java.util.List;

import com.mcarrot.site.common.Constants;
import com.mcarrot.site.model.Image;
import com.mcarrot.site.model.Link;

public interface ImageDAO extends Constants{
	Integer saveOrUpdate(Image image);
	Integer del(Image image);
	Link findById(Integer imageId);
	List<Image> list();
	List<Image> listByCondition(Image image);
}
